<template>
  <div class="file-list-header">
    <div class="file-name">文件名</div>
    <div class="file-type">类型</div>
    <div class="file-size">大小</div>
    <div class="file-time">时间</div>
    <div class="file-actions">操作</div>
  </div>
</template>

<script setup lang="ts">
// 无需额外逻辑
</script>

<style scoped>
.file-list-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 100px;
  gap: 16px;
  padding: 12px 16px;
  background-color: var(--theme-bg-tertiary);
  border-bottom: 1px solid var(--theme-border-light);
  font-weight: 500;
  color: var(--theme-text-secondary);
  font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .file-list-header {
    grid-template-columns: 3fr 1fr 1fr 100px;
    gap: 12px;
  }

  .file-list-header .file-type {
    display: none;
  }
}

@media (max-width: 480px) {
  .file-list-header {
    grid-template-columns: 2fr 1fr 80px;
    gap: 8px;
    font-size: 13px;
  }

  .file-list-header .file-type,
  .file-list-header .file-time {
    display: none;
  }
}
</style>
